﻿<?xml version="1.0" encoding="utf-16"?>
<Activity x:Class="UpgradedXrmWorkflowa7c57aa951d3de11a23b003048712bf7" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:mxs="clr-namespace:Microsoft.Xrm.Sdk;assembly=Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:mxswa="clr-namespace:Microsoft.Xrm.Sdk.Workflow.Activities;assembly=Microsoft.Xrm.Sdk.Workflow, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" xmlns:srs="clr-namespace:System.Runtime.Serialization;assembly=System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" xmlns:this="clr-namespace:" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="InputEntities" Type="InArgument(scg:IDictionary(x:String, mxs:Entity))" />
    <x:Property Name="CreatedEntities" Type="InArgument(scg:IDictionary(x:String, mxs:Entity))" />
  </x:Members>
  <this:UpgradedXrmWorkflowa7c57aa951d3de11a23b003048712bf7.InputEntities>
    <InArgument x:TypeArguments="scg:IDictionary(x:String, mxs:Entity)" />
  </this:UpgradedXrmWorkflowa7c57aa951d3de11a23b003048712bf7.InputEntities>
  <this:UpgradedXrmWorkflowa7c57aa951d3de11a23b003048712bf7.CreatedEntities>
    <InArgument x:TypeArguments="scg:IDictionary(x:String, mxs:Entity)" />
  </this:UpgradedXrmWorkflowa7c57aa951d3de11a23b003048712bf7.CreatedEntities>
  <mva:VisualBasic.Settings>Assembly references and imported namespaces for internal implementation</mva:VisualBasic.Settings>
  <mxswa:Workflow>
    <mxswa:SetState DisplayName="SetStateStep1" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityId="[InputEntities(&quot;primaryEntity&quot;).Id]" EntityName="salesorder">
      <mxswa:SetState.State>
        <InArgument x:TypeArguments="mxs:OptionSetValue">
          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="0" />
          </mxswa:ReferenceLiteral>
        </InArgument>
      </mxswa:SetState.State>
      <mxswa:SetState.Status>
        <InArgument x:TypeArguments="mxs:OptionSetValue">
          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="200002" />
          </mxswa:ReferenceLiteral>
        </InArgument>
      </mxswa:SetState.Status>
    </mxswa:SetState>
    <Persist />
  </mxswa:Workflow>
</Activity>